<%@ page import="ss.cc.tt.Customer" %><%--
  Created by IntelliJ IDEA.
  User: Admin
  Date: 12/26 0026
  Time: 0:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h2>Step3:订单确认</h2>
<%

    Customer c= (Customer) session.getAttribute("customer");
    String[] books= (String[]) session.getAttribute("books");
%>
<table border="1" cellpadding="10" cellspacing="0">
    <tr>
        <td>顾客姓名</td>
        <td><%= c.getName()%></td>
    </tr>
    <tr>
        <td>地址</td>
        <td><%= c.getAddress()%></td>
    </tr>
    <tr>
        <td colspan="2">付款信息</td>
    </tr>
    <tr>
        <td>信用卡类型</td>
        <td><%= c.getCardType()%></td>
    </tr>
    <tr>
        <td>卡号</td>
        <td><%= c.getCard()%></td>
    </tr>
    <tr>
        <td>订货项目</td>
        <td>
            <%
                for(String book:books){
                    out.print(book);
                    out.print("<br>");
                }

            %>
        </td>
    </tr>
</table>
</body>
</html>
